package com.goldcn.b2b.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * Created by Administrator on 2016/9/20.
 */

public class BaseQueryDto {

    @ApiModelProperty(value = "商品搜索：商品名称 订单：买家姓名、供应商、商品名称")
    String query;

    @ApiModelProperty(value = "排序字段",allowableValues = "addTime")
    String sort;

    @ApiModelProperty(value = "升序降序", allowableValues = "desc")
    String sortOrder;

    @ApiModelProperty(value = "页数")
    Integer pageNum;

    @ApiModelProperty(value = "条数")
    Integer pageSize;


    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }


    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(String sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
